package some.message.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.servlet.ModelAndView;

@Controller
public class MessageSendController {
	
	@RequestMapping("/messageSend.do")
	public ModelAndView form(@RequestParam(value="sendId",defaultValue="")String sendId){
		ModelAndView mav = new ModelAndView();
		mav.setViewName("messageForm");
		mav.addObject("type",3);
		mav.addObject("sendId",sendId);
		return mav;
	}
}
